package com.eminem.filechar;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;

public class FileReaderTest1 {

	public static void main(String[] args) throws Exception {

		FileReader fr = new FileReader(new File("c:/a.txt"));
		
		BufferedReader br = new BufferedReader(fr);
		
		String str;
		while(null != (str = br.readLine())){
			System.out.println(str);
		}
		
		br.close();
	}
}
